<#setting classic_compatible=true>
	<#assign base=rc.contextPath />
<!DOCTYPE html>
<html lang="zh-cn">
	<head>
		<meta charset="utf-8">
	    <meta name="renderer" content="webkit">
	    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
	    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1"/>
		<meta name="apple-mobile-web-app-capable" content="yes"/>
	    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
	    <meta name="format-detection" content="telephone=no"/>
	    <meta name="author" content="艾易网络科技有限公司-艾易设计-http://www.aiyiweb.net">
	    <meta name="description" content="网页描述文字">
	    <meta name="keywords" content="关键词,关键词">
	    <title>ZanYi</title>
	    <link rel="stylesheet" href="${base}/static/css/page.min.css" />
	    <script type="text/javascript" src="${base}/static/js/jquery-1.9.1.min.js"></script>
	</head>
	<body>
		<header>
			<h6>维修记录</h6>
			<div class="img-box">
				<img src="${base}/static/image/nameb.png" alt="珲春市合作区物业维修资金查询系统"  style="height: auto;width: 650px">
			</div>
			<div class="return" onclick="javascript:window.history.back(-1);">
				<img src="${base}/static/image/return.png" alt="返回">
				<p>返回</p>
			</div>
		</header>
		<div class="record-container">
			<div class="content">
				<ul class="tab">
					<li>
						<a href="success.html">房屋详细信息</a>
					</li>
					<!--<li class="active">-->
						<!--<a href="record.html">维修记录</a>-->
					<!--</li>-->
				</ul>
				<div class="clearfix"></div>
				<div class="text">
					<table>
						<thead>
							<tr>
								<td>房屋ID</td>
								<td>小区名称</td>
								<td>栋</td>
								<td>单元</td>
								<td>户</td>
								<td>面积</td>
								<td>维修金额</td>
								<td>维修日期</td>
								<td>维修项目名称</td>
								<td>维修项目总金额</td>
								<td>姓名</td>
								<td>不足金额</td>
								<td>维修项目执行状态</td>
							</tr>
						</thead>
						<tbody>
						<#if page.list?? && (page.list?size>0) >
							<#list page.list as repairLog>
								<tr>
									<td>${repairLog.houseId?c}</td>
									<td>${repairLog.areaId}</td>
									<td>${repairLog.groupId}</td>
									<td>${repairLog.unitId}</td>
									<td>${repairLog.doorId}</td>
									<td>${repairLog.space!"-"}</td>
									<td>${repairLog.repairMoney}</td>
									<td>${repairLog.repairDate}</td>
									<td>${repairLog.projectName}</td>
									<td>${repairLog.projectMoney}</td>
									<td>${repairLog.userName!"-"}</td>
									<td>${repairLog.noMoney}</td>
									<td>${repairLog.sts}</td>
								</tr>
							</#list>
							<#else>
								<tr>
									<td colspan="13">
										无数据!
									</td>
								</tr>
						</#if>
						</tbody>
					</table>
				</div>
			</div>
			<div class="record-btn">
				<ul>
					<#if (!page.isFirstPage&&page.size>0) >
						<li><a href="javascript:queryAll(${page.prePage});">上一页</a></li>
					</#if>

					<#if (!page.isLastPage&&page.size>0) >
						<li><a href="javascript:queryAll(${page.nextPage});">下一页</a></li>
					</#if>
				</ul>
			</div>
		</div>
		<script src="${base}/static/js/jquery.validate.js"></script>
		<script src="${base}/static/js/main.js"></script>
		<script type="text/javascript">
            function queryAll(pageNum){
                document.location.href="${rc.contextPath}/get_house_repairlog_list_by_id?houseId=${houseId}&page_num="+pageNum
            }
		</script>
	</body>
</html>
